package com.zyuan.lawyerport.view.dModule.adapter;


import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zyuan.lawyerport.R;
import com.zyuan.lawyerport.view.dModule.bean.CommonProblemBean;

import java.util.List;

/**
 * 作者 ：RAN
 * 时间 ：2019/10/16 15:33
 * 类名 ：CommonProblemAdapter
 * 描述 ：常见问题适配器
 * 版本 ：1.0
 */
public class CommonProblemAdapter extends BaseQuickAdapter<CommonProblemBean, BaseViewHolder> {

    public CommonProblemAdapter(@Nullable List<CommonProblemBean> data) {
        super(R.layout.item_common_problem_layout, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CommonProblemBean item) {
        helper.setText(R.id.item_common_problem_text_content, item.getContent());
    }
}
